package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username   string `gorm:"type:varchar(50);not null;unique;comment:账号"`
	Password   string `gorm:"type:varchar(50);not null;comment:密码"`
	Permission int    `gorm:"type:tinyint(10);not null;comment:管理员权限 1-管理员 2-普通用户"`
}
